package com.blb.service;

import com.blb.entity.CargoArea;
import com.blb.entity.Categories;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.entity.Ware;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-20
 */
public interface ICategoriesService extends IService<Categories> {
    /*获取所有分类信息*/
    List<Categories> getCategories();
    /*通过分类id查询分类名*/
    String categoriesName(String enterprise);
    /*通过分类名查询id*/
    String findCategoriesId(String name);
    /*添加菜单信息*/
    void addCategories(Categories categories);
    /*删除菜单*/
    void deleteCategories(String id);
    /*通过id查找pid*/
    List<String> findId(String id);
    /*修改菜单*/
    void updateCategories(Categories categories);
    List<Categories> getAllNode(String nodeId,String companyId);


}
